package com.lzy.product.apis.impl;

import com.lzy.product.apis.AgentOrderProjectRecordServiceApi;
import com.lzy.product.dtos.agent.AgentOrderProjectRecordDto;
import com.lzy.product.service.AgentOrderProjectRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by WIN7 on 2018/4/17.
 */
@Service
public class AgentOrderProjectRecordServiceApiImpl implements AgentOrderProjectRecordServiceApi {

    @Autowired
    AgentOrderProjectRecordService agentOrderProjectRecordService;

    @Override
    public List<AgentOrderProjectRecordDto> selectAgentOrderProjectRecordByOrderId(Long orderId) {
        return agentOrderProjectRecordService.selectAgentOrderProjectRecordByOrderId(orderId);
    }

    @Override
    public Boolean insert(AgentOrderProjectRecordDto agentOrderProjectRecordDto) {
        return agentOrderProjectRecordService.insert(agentOrderProjectRecordDto);
    }
}
